//
//  SucursalesDao.h
//  Megatlon
//
//  Created by Leandro Milmanda on 5/7/12.
//  Copyright 2012 www.lemil.com.ar. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SucursalesDao : NSObject 
{
@private NSString *jsonString;
@private NSData *jsonObject;
@private NSDictionary *jsonObjectGrilla;
@private bool loaded;
}

+ (SucursalesDao *)instance;

-(void)load;
-(BOOL)isLoaded;
-(NSDictionary *)getByIndex:(int)index;
-(NSArray *)getAll;
-(int)getTotalSucursales;
-(BOOL)isOpenedSucursalId:(int)someSucursalId atDayNumber:(int)dayNumber andTime:(int)hour andMinutes:(int)mins;

@end
